<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@include file="/context/mytags.jsp"%>
<t:base type="jquery,easyui,tools,DatePicker"></t:base>
<div class="easyui-layout" fit="true">
  <div region="center" style="padding:0px;border:0px">
  <t:datagrid name="list" checkbox="false" fitColumns="true"
  	 title="实验室预约" actionUrl="labAppointApplyController.do?appointDatagrid" idField="id" fit="true" queryMode="group">
  	 	 <t:dgCol title="主键"  field="id"  hidden="true"  queryMode="single"  width="100"></t:dgCol>
		<t:dgCol title="实验室"  field="labName" query="true" queryMode="single" width="100"></t:dgCol>
		<t:dgCol title="项目名称"  field="projectName" query="false" queryMode="single" width="120"></t:dgCol>
		<t:dgCol title="设备"  field="deviceName" query="false" queryMode="single" width="80"></t:dgCol>
		<t:dgCol title="实验室价格"  field="labPrice" query="false" queryMode="single" width="50"></t:dgCol>
		<t:dgCol title="面向专业"  field="major" query="false" queryMode="single" width="60"></t:dgCol>
		<t:dgCol title="容纳人数"  field="capacity" query="false" queryMode="single" width="50"></t:dgCol>
		<t:dgCol title="操作" field="opt" width="40"></t:dgCol>
		<t:dgFunOpt funname="apply(id)" title="预约"></t:dgFunOpt>
  </t:datagrid>
  </div>
 </div>
 <script>
 	function apply(id){
 		window.location.href="labAppointApplyController.do?apply&labId="+id;
 	}
 </script>